package com.yangxiangrice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yangxiangrice.pojo.AgItemListing;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Description: TODO
 * @author: shixiaojian
 * @date: 2021年11月16日 17:45
 */
@Repository
public interface AgItemListingMapper extends BaseMapper<AgItemListing> {
    Integer getPurchaseNum(@Param("agItemName") String agItemName,@Param("relatedPerson")String relatedPerson);

    Integer getConsumeNum(@Param("agItemName") String agItemName,@Param("relatedPerson")String relatedPerson);
}
